﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{
    public class DbQueryResultOrdersAndItems
    {
        public List<Order> OrderList { get; set; }

        public List<OrderItem> OrderItemsList { get; set; }
    }

    public class Order
    {
        public string OrderId { get; set; }
        public DateTime OrderDate { get; set; }
        public int OrderStatus { get; set; }
        public int PaymentTypeId { get; set; }
        public decimal OrderTotal { get; set; }
        public int ProductSum { get; set; }
        public string GateWay { get; set; }
    }

    public class OrderItem
    {
        public string OrderId { get; set; }
        public string ThumbnailsUrl { get; set; }
        public string ItemDescription { get; set; }
        public string SKUContent { get; set; }
        public string SKU { get; set; }
        public int ProductId { get; set; }
        public int Quantity { get; set; }
        public decimal ItemListPrice { get; set; }
    }
}
